<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------

use app\command\backend\home\WebsiteNotice;
use app\command\backend\system\AdminSuper;
use app\command\backend\system\ParamsConfigInit;
use app\command\backend\system\PriceTimeoutNotify;
use app\command\backend\system\RoleInit;
use app\command\region\NationalBureauRegion;
use app\command\TestCommand;
use app\command\backend\system\MenuInit;
use app\command\backend\system\AdminInit;
use app\command\backend\system\PermissionsInit;

return [
    // 指令定义
    'commands' => [
        /*
         * init
         */
        'init:admin' => AdminInit::class, // 初始化超级管理员
        'init:permissions' => PermissionsInit::class, // 初始化权限数据
        'init:menu' => MenuInit::class, // 初始化菜单数据
        'init:role' => RoleInit::class, // 初始化角色数据
        'init:region' => NationalBureauRegion::class, // 初始化地区

        /*
         * admin
         */
        'admin:super' => AdminSuper::class, // 设置/取消超级管理员

        /*
         * notice
         */
        // 'notice:website' => WebsiteNotice::class, // 站内通知

        /**
         * 其他
         */
        'test' => TestCommand::class,
    ],
];
